package cn.hk.user.service;

import cn.hk.user.domain.UserInfo;
import cn.hk.user.domain.UserRelation;
import cn.hk.user.domain.vo.FamilyDetailVo;
import cn.hk.user.domain.vo.FamilyPersonVo;
import cn.hk.user.domain.vo.ChangeVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.AjaxResult;

import java.util.List;

/**
 * <p>
 * 家庭关系表 服务类
 * </p>
 *
 * @author xu
 * @since 2023-03-07
 */
public interface UserRelationService extends IService<UserRelation> {

    void addUserRelation(FamilyPersonVo familyPersonVo, UserInfo userInfo);

    List<FamilyDetailVo> familyMemberList(long userIdLong);

    AjaxResult removeFamilyMember( ChangeVo changeVo);

    AjaxResult editFamilyMemberRelation(ChangeVo changeVo);
}
